//  Copyright Druid Mechanics

#pragma once

#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "AuraUserWidget.generated.h"

/**
 * 
 */
UCLASS()
class AURA_API UAuraUserWidget : public UUserWidget
{
	GENERATED_BODY()
public:
	/**
	 * BlueprintCallable: 此函数在蓝图或关卡蓝图中执行。
	 */
	UFUNCTION(BlueprintCallable)
	void SetWidgetController(UObject* InWidgetController);
	UPROPERTY(BlueprintReadOnly)
	TObjectPtr<UObject> WidgetController;
protected:
	/**
	 * BlueprintImplementableEvent: 在蓝图或关卡蓝图中实现本函数。
	 */
	UFUNCTION(BlueprintImplementableEvent)
	void WidgetControllerSet();
};
